package cn.spike.rockcc.service;

import cn.spike.rockcc.domain.User;
import cn.spike.rockcc.dto.RegisterDto;
import cn.spike.rockcc.dto.UserDto;
import cn.spike.rockcc.result.JSONResult;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * 会员登录账号 服务类
 * </p>
 *
 * @author spike
 * @since 2023-03-07
 */
public interface IUserService extends IService<User> {

    JSONResult register(RegisterDto dto);

    User loadByPhone(String phone);

    UserDto getInfo(Long id);
}
